package com.qixin.activiti.api;

import com.qixin.modules.eaBasic.entity.EaTask;
import com.qixin.modules.eaBasic.vo.IdVo;
import org.jeecg.modules.system.vo.ActivitiCancelVo;
import org.jeecg.modules.system.vo.ActivitiVo;

/**
 * @Author:wly
 * @Date:2021/10/18
 * @Describtion: 工作流接口类
 */
public interface IActivitiService {
    //添加工作流实例
    void addActivitiApply(ActivitiVo activitiVo,Boolean firstGateway);

    String pass(ActivitiVo activitiVo, EaTask eaTask);

    String back(ActivitiVo activitiVo, EaTask eaTask);

    void sendActivitiApply(ActivitiVo activitiVo, Boolean firstGateway);

    String cancel(ActivitiCancelVo activitiCancelVo, EaTask eaTask);

    int getTaskIsCancel(ActivitiCancelVo activitiCancelVo);

    String getLastHiTaskId(IdVo idVo);

    String checkFormChange(String updateTime, String formType,String formId);
}
